<?
require("config.php");
$location_status .= "| Enquire";
$show_backnav = "product_menu";
$menuname = array(
	"Info",
	"Pictures",
	"Color",
	"Size",
	"Specification",
	"Features",
	"Accessories",
	"Packaging",
);

$menutarget = array(
	"enquire",
	"enquire_pictures",
	"enquire_color",
	"enquire_size",
	"enquire_specification",
	"enquire_features",
	"enquire_accessories",
	"enquire_packaging",
);

$menutype = 2;

if (NULL!=$action){

   $Query = "delete from $table where id=$id Limit 1";

   myQuery($Query);


   header("location:" . $rela_path . "share/msg.php?v=3");

   exit();

}


if (!checkRecord($table,$id)){

	header("location:" . $rela_path . "share/msg.php?v=9002");
  
}

$Query = "select 
item01, 
item02, 
item03, 
item04, 
item05, 
item06, 
item07, 
item08, 
item09, 
item10 
from pro_basic where id=$id Limit 1";
$r = myQuery($Query);

$Item01= $r[0][0];
$Item02= $r[0][1];
$Item03= $r[0][2];
$Item04= $r[0][3];
$Item05= $r[0][4];
$Item06= $r[0][5];
$Item07= $r[0][6];
$Item08= $r[0][7];
$Item09= $r[0][8];
$Item10= $r[0][9];

require($rela_path . "inc/header.php");

?>

<!--Content Start-->
<form action="" method="post" enctype="multipart/form-data" name="form1">  
<!--hidden filed-->
<input name="Code" type="hidden" value="<?print($Code)?>">
<input name="action" type="hidden" value="delete">


  <table width="95%" border="0" align="center">
                      <tr> 
                        
      <td>&nbsp; </td>
                      </tr>
                      <tr> 
                        
      <td><br>
        <table border="0" cellspacing="0" cellpadding="2">
          <tr> 
            <td> 1. </td>
			<td> <?print($Item01)?></td>
          </tr>
          <tr> 
            <td> 2. </td>
			<td> <?print($Item02)?></td>
          </tr>
          <tr> 
            <td> 3. </td>
			<td> <?print($Item03)?></td>
          </tr>
          <tr> 
            <td> 4.</td>
			<td> <?print($Item04)?></td>
          </tr>
          <tr> 
            <td> 5. </td>
			<td> <?print($Item05)?></td>
          </tr>
          <tr> 
            <td> 6. </td>
			<td> <?print($Item06)?></td>
          </tr>
          <tr> 
            <td> 7. </td>
			<td> <?print($Item07)?></td>
          </tr>
          <tr> 
            <td> 8. </td>
			<td> <?print($Item08)?></td>
          </tr>
          <tr> 
            <td> 9. </td>
			<td> <?print($Item09)?></td>
          </tr>
          <tr> 
            <td> 10. </td>
			<td> <?print($Item10)?></td>
          </tr>
        </table>
        <p>&nbsp;</p>
        <p>&nbsp;</p>
        <p>&nbsp;</p>
        <p>&nbsp;</p>
        <p>&nbsp;</p></td>
                      </tr>
                    </table>
                    </form>
            <!--Content End-->
            <?
require($rela_path . "inc/footer.php");
?>
        